//
//  YXbutton.m
//  wheel
//
//  Created by mac on 15-4-1.
//  Copyright (c) 2015年 mac. All rights reserved.
//

#import "YXbutton.h"

@implementation YXbutton

- (CGRect)imageRectForContentRect:(CGRect)contentRect
{
    CGFloat newX = 15;
    CGFloat newY = 20;
    CGFloat newW = contentRect.size.width - newX *2;
    CGFloat newH = contentRect.size.height - newY - 70;

    return CGRectMake(newX, newY, newW, newH);
}

@end
